package com.luyu.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.luyu.entity.UserRole;

import java.util.List;

/**
* @author HASEE
* @description 针对表【user_role】的数据库操作Service
* @createDate 2024-03-11 21:37:12
*/
public interface UserRoleService extends IService<UserRole> {
    /**
     * 通过用户id获取绑定的角色id列表
     * @param id
     * @return
     */
    List<Long> listIdListByUserId(Long id);
}
